package com.by.myservlet;

import com.by.http.HttpRequest;
import com.by.http.HttpResponse;
import com.by.servlet.HttpServlet;

// HelloServlet 实现
public class HelloServlet extends HttpServlet {
    @Override
    protected void doGet(HttpRequest request, HttpResponse response) throws Exception {
        response.write("<h1>Hello, Tomcat!</h1>");
    }
}
